﻿using System;
using System.ComponentModel.DataAnnotations;


namespace NK.Models
{
    public class Product
    {
        [Key()]
        public Int64 ID { get; set; }

        [Required, MaxLength(255)]
        public string Title { get; set; }

        public string Description { get; set; }

        public string BarCode { get; set; }

        public decimal Price { get; set; }

        public Int32 CatalogID { get; set; }
        public virtual Catalog Catalog { get; set; }

    }
}
